package com.aispeech.asr.apis.detection.config;

import com.aispeech.asr.webase.component.BigFileHttpPoster;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

@Configuration
@EnableScheduling
@Slf4j
public class ScheduleConfig {
    @Autowired
    BigFileHttpPoster bigFileHttpPoster;

//    @Scheduled(cron = "${apis.audio-upload.cron}")
//    public void cronUploadFile() {
////        log.info("ScheduleConfig.cronUploadFile...");
//        bigFileHttpPoster.run();
//    }
}
